/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nominalitzacions.persistance;

import javax.swing.text.Document;

/**
 *
 * @author daniel.camacho.rodriguez
 */
public class TextDataManagerController {
    private TextDataManager TDM;

    public TextDataManagerController(){

    }

    public String openText(String path){
        TDM = new TextDataManager(path);
        String AllTextOpen = TDM.openText();
        return AllTextOpen;
    }
    public void saveTextData(String text, String path) {
        //TDM.saveText(text, path);
    }
}